<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>login</title>

    <link rel="stylesheet" type="text/css" th:href="@{/static/css/login.css}" />
</head>
<body>
    <div class="container">
        <section id="content">
            <form action="/login" method="post">
                <h1>用户登录</h1>
                <div>
                    <input type="text" placeholder="账号" required id="username"
                           name="username" />
                </div>
                <div>
                    <input type="password" placeholder="密码" required id="password"
                           name="password" onkeydown="if(event.keyCode==32) return false" />
                </div>
                <div>
                    <input type="submit" value="登录" />
                    <a href="#">忘记密码?</a>

                </div>
            </form>
        </section>
    </div>
</body>
</html>